﻿using Inaction.Criteria;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;

namespace Inaction.Linq.Clause
{
    class GreatThanClause : BinaryClause
    {
        public GreatThanClause(LinqRoot root, BinaryExpression e)
            : base(root, e)
        {
            Type = e.Type;
            Operate = CriteriaOperate.GreatThan;
            Left = LinqParse.Parse(e.Left, root);
            Right = LinqParse.Parse(e.Right, root);
        }
    }
}
